[FORMAT "WCOFF"]
[INSTRSET "i486p"]
[BITS 32]
[FILE "api_0x06.nas"]
	GLOBAL _api_putwindostext
	
[SECTION .text]

_api_putwindostext: ;void api_putwindostext(int win, int x, int y, int col, int len, char *str);
	push edi
	push esi
	push ebp
	push ebx
	mov edx, 0x6
	mov ebx,[esp+20] ;win
	mov esi,[esp+24] ;x
	mov edi,[esp+28] ;y
	mov eax,[esp+32] ;col
	mov ecx,[esp+36] ;len
	mov ebp,[esp+40] ;str
	int 0x40
	pop ebx
	pop ebp
	pop esi
	pop edi
	ret